<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>图书管理系统</title>
     <link rel="shortcut icon" href="img/icon.ico" type="image/x-icon">
    <link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
     <link href="lib/dateTime/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen">
    <link rel="stylesheet" href="css/main.css">
   
  </head>
  <body >

    <!-- 导航条样式 -->
      <nav class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
          <!-- Brand and toggle get grouped for better mobile display -->
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="javascript:;">图书管理系统V1.0</a>
          </div>

          <!-- Collect the nav links, forms, and other content for toggling -->
          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
              <li class="active"><a href="javascript:;">图书管理</a></li>
              <li><a href="javascript:;">借书还书</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">更多选项 <span class="caret"></span></a>
                <ul class="dropdown-menu" role="menu">
                  <li><a href="javascript:;">Action</a></li>
                  <li><a href="javascript:;">Another action</a></li>
                  <li><a href="javascript:;">Something else here</a></li>
                  <li class="divider"></li>
                  <li><a href="javascript:;">Separated link</a></li>
                  <li class="divider"></li>
                  <li><a href="javascript:;">One more separated link</a></li>
                </ul>
              </li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
              <li><a href="javascript:;">Link</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
                <ul class="dropdown-menu" role="menu">
                  <li><a href="javascript:;">Action</a></li>
                  <li><a href="javascript:;">Another action</a></li>
                  <li><a href="javascript:;">Something else here</a></li>
                  <li class="divider"></li>
                  <li><a href="javascript:;">Separated link</a></li>
                </ul>
              </li>
            </ul>
          </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
      </nav>


    <!-- 胶囊菜单 -->
      <div class="container">
         <div class="btn-group mb-20">
          <button id="addBtn" type="button" class="btn  btn-default">新增图书</button>
          <button type="button" class="btn btn-primary">图书列表</button>
          <button id="updateBtn" type="button" class="btn btn-warning">修改图书</button>
          <button id="delBtn" type="button" class="btn btn-danger">删除图书</button>
        </div>
      <!-- 用户列表 -->
        <table class="table table-striped table-bordered table-hover ">
          <thead>
           <tr>
             <th class="text"><input type="checkbox"></th>
             <th>书名</th>
             <th>作者</th>
             <th>出版社</th>
             <th>定价</th>
             <th>出版日期</th>
             <th>类别</th>
             <th>上架/下架</th>
             <th>借出状态</th>
           </tr>
         </thead>
         <tbody id="tbody">
           
         </tbody>
           
        </table>
      </div>

      <div class="container">
          <nav>
            <ul class="pagination pull-right mt-0">
              <li><a href="#">&laquo;</a></li>
              <li><a href="#">1</a></li>
              <li><a href="#">2</a></li>
              <li><a href="#">3</a></li>
              <li><a href="#">4</a></li>
              <li><a href="#">5</a></li>
              <li><a href="#">&raquo;</a></li>
            </ul>
          </nav>
      </div>

     <!-- 对话框 -->

     <div id="dialog" class="modal fade">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
            <h4 class="modal-title">新增图书</h4>
          </div>
          <div class="modal-body">
              <!-- 表单 -->
              <form id="libraryForm" class="form-horizontal" role="form">
                <div class="form-group">
                  <label class="col-sm-2 control-label">书名</label>
                  <div class="col-sm-5">
                    <input id="name" type="text" class="form-control"placeholder="请输入书名">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-2 control-label">作者</label>
                  <div class="col-sm-4">
                    <input id="author" type="text" class="form-control"placeholder="请输入作者">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-2 control-label">出版社</label>
                  <div class="col-sm-6">
                    <input id="publisher" type="text" class="form-control"placeholder="请输入出版单位">
                  </div>
                </div>
               <div class="form-group">
                  <label class="col-sm-2 control-label">价格</label>
                  <div class="col-sm-4">
                    <input id="price" type="text" class="form-control"placeholder="请输入价格">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-2 control-label">出版日期</label>
                  <div class="col-sm-4">
                    <input id="p_date" type="text" class="form-control"placeholder="请输入出版日期" data-date-format="yyyy-mm-dd">
                    <!-- 引入外部框架dateTimepicker -->
                  
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-2 control-label">类别</label>
                  <div class="col-sm-6">
                     <select id="classify" class="form-control">
                        
                     </select>
                  </div>
                </div>
                <div class="form-group">
                <label class="col-sm-2 control-label">上架/下架</label>
                <div class="col-sm-10">
                   <label class="radio-inline">
                    <input checked type="radio" name="status" value="1" > 上架
                  </label>
                  <label class="radio-inline">
                    <input type="radio" name="status"  value="0"> 下架
                  </label>
                </div>
                </div>
                  <div class="form-group">
                <label class="col-sm-2 control-label">借出状态</label>
                <div class="col-sm-10">
                   <label class="radio-inline">
                    <input type="radio" name="borrowStatus"  value="0"> 未借出
                  </label>
                  <label class="radio-inline">
                    <input checked type="radio" name="borrowStatus"  value="1"> 已借出
                  </label>
                </div>
                </div>
                  
              </form>
              <!-- 表单 -->
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            <button id="saveBtn" type="button" class="btn btn-primary">保存图书</button>
          </div>
        </div><!-- /.modal-content -->
      </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->

    <div class="masker">
       <div class="masker-layer"></div>
       <div class="masker-img">
          <img src="img/loading-2.gif" alt="">
       </div>
    </div>



      



      <script src="lib/jquery/dist/jquery.min.js"></script>
      <script src="lib/bootstrap/js/bootstrap.min.js"></script>
      <script src="lib/angular/angular.min.js"></script>
      <script type="text/javascript" src="lib/dateTime/bootstrap-datetimepicker.min.js"></script>
      <script type="text/javascript" src="lib/dateTime/bootstrap-datetimepicker.zh-CN.js"></script>
      <script src="js/mainJQ.js"></script>
      <script >
         
      </script>
  </body>
</html>